html, body, #app {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.header {
    height: 50px;
    background-color: #409EFF;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.main-layout {
    display: flex;
    height: calc(100% - 50px);
    overflow: hidden;
}

.sidebar {
    background-color: #2d3a4b;
    color: #fff;
    height: 100%;
    transition: width 0.3s ease, transform 0.3s ease;
    width: 220px;
}

.sidebar.collapsed {
    width: 60px;
}

.sidebar.hidden {
    transform: translateX(-100%);
    position: fixed;
    top: 50px;
    z-index: 1050;
    height: calc(100% - 50px);
}

/*设置iframe的宽高*/
.iframe-container {
    flex: 1;
    height: 100%;
    overflow: hidden;
    margin-top: 30px;
    padding-left: 15px;
    padding-bottom: 50px;
}

.iframe-content {
    width: 100%;
    height: 100%;
    border: none;
    background-color: #fff;
}

.el-menu {
    border-right: none;
    background-color: #2d3a4b;
}

.el-menu-item,
.el-submenu__title {
    color: #fff !important;
}
.el-submenu__title i{
    color: #fff;
}

.el-menu-item.is-active {
    background-color: #17a2b8 !important;
}
.el-menu-item:hover{
    background-color: rgb(91, 7, 91) !important;
}
.el-menu--collapse {
    width: 60px;
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 50px;
        left: 0;
        height: calc(100% - 50px);
        z-index: 1050;
    }
}
